@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --md-sys-color-primary: #006C51;
  --md-sys-color-on-primary: #FFFFFF;
  --md-sys-color-primary-container: #89F8D7;
  --md-sys-color-on-primary-container: #002117;
  --md-sys-color-secondary: #4C6358;
  --md-sys-color-on-secondary: #FFFFFF;
  --md-sys-color-secondary-container: #CFE9DB;
  --md-sys-color-on-secondary-container: #092017;
  --md-sys-color-surface: #FBFDF9;
  --md-sys-color-on-surface: #191C1A;
  --md-sys-color-surface-variant: #DCE5DD;
  --md-sys-color-on-surface-variant: #404943;
  --md-sys-color-outline: #707973;
  --md-sys-color-outline-variant: #C0C9C1;
  --md-sys-color-shadow: #000000;
  --md-sys-color-scrim: #000000;
  --md-sys-color-inverse-surface: #2E312F;
  --md-sys-color-inverse-on-surface: #EFF1ED;
  --md-sys-color-inverse-primary: #6CDBBC;
  --md-sys-color-surface-tint: #006C51;
  --md-sys-color-surface-tint-color: #006C51;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

.wrapper {
  width: 100%;
  min-height: 100vh;
  background-color: var(--md-sys-color-surface);
  padding-bottom: 14vw; /* for footer */
}

/* 通用顶部应用栏样式 */
.mdc-top-app-bar {
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  height: 56px;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.mdc-top-app-bar__title {
  flex-grow: 1;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
}

.mdc-top-app-bar__navigation-icon {
  color: var(--md-sys-color-on-primary);
  text-decoration: none;
}

/* 通用底部菜单部分 */
.footer{
  width: 100%;
  height: 14vw;
  border-top: solid 1px #DDD;
  background-color: #fff;
  position: fixed;
  left: 0;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1001;
}
.footer li{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #999;
  user-select: none;
  cursor: pointer;
}
.footer li:not(:last-child) {
  border-right: solid 1px #DDD;
}
.footer .active{
  color: var(--md-sys-color-primary);
}
.footer li p{
  font-size: 2.8vw;
}
.footer li i{
  font-size: 5vw;
}
